package com.hszh.common;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@SpringBootApplication
@ComponentScan(basePackages = {"com.hszh.wms.web.controller.*","com.hszh.wms.web.dto.*",
        "com.hszh.wms.web.service.*","com.hszh.wms.web.config",
        "com.hszh.wms.mbg.**","com.hszh.wms.web.dao.*",
        "com.hszh.wms.common.log","com.hszh.wms.common.exception"}) //指定扫描包路径
@EnableAspectJAutoProxy(proxyTargetClass=true)
public class WmsWebApplication {

    public static void main(String[] args) {
        SpringApplication.run(WmsWebApplication.class, args);
    }

}
